﻿using Core.Domain.Entities;
using Core.Migrations.Extensions;
using FluentMigrator;

namespace Infrastructure.Persistence.Migrations.Users;

[Migration(202510242143)]
public class AddGenderColumn : ForwardOnlyMigration
{
    public override void Up()
    {
        Alter.Table(typeof(User).GetTableName())
          .InSchema(SchemaNames.Identity)
          .AddColumn("Gender").AsString(20).Nullable().WithColumnDescription("性别");   
    }
}
